Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started
Linking the Order Lines page
As on the Customer Orders Browse, you must add links to hook the OrderLine SDO with the Order SDO and the Order viewer. The template you used for this page already has the rest of the links to pass data from the OrderLine SDO to its browse and viewer.
![]()
To add the links:
- Choose the Links Maintenance button. The Links Maintenance dialog box appears.
- Verify that all of the links in the following table exist, and add any links that are missing:
- Exit the Links Maintenance window.
- Choose Save, then exit the Container Builder window.
To test your new application, launch
oeOrderBrowseWinfrom the Dynamic Launcher. This is the second browse window that you created earlier. You can then launch your new window,oeOrderFoldWin, by editing one of the displayed records. Remember thatoeOrderFoldWinis a dependent window and needs theorder_objkey fromoeOrderBrowseWinas input. Your new browse should look something like this:
![]()
Because the template for the Order Lines page of the Order and Lines Browse is designed to have its own update and navigation toolbar, the UI of the window might be confusing: there is one toolbar at the top of the window to navigate and maintain the Order displayed on Page 1, and another toolbar on Page 2 to maintain and navigate OrderLines. A different set of templates could use a single toolbar on Page 0 to handle the currently selected page. You can leave the construction of this variant for an exercise, after you have read the chapter on using the Container Builder in OpenEdge Development: Progress Dynamics Basic Development .
Note: You could have created a window where Customers and Orders were created and updated together, rather than one window that updates Customers and just displays Orders and OrderLines, and a separate window to maintain Orders. The sample application puts things together in a way that shows as much of the framework as possible while building a few objects.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |